
package mock.servicesdirectory.services.web.model;

public class Geography implements Comparable
{
    private String name;
    private Integer id;
    private String description;
    private String region;
    private String active;

    public Geography()
    {
        
    }
    public Geography(String name, Integer id, String description, String region, String active) {
        this.name = name;
        this.id = id;
        this.description=description;
        this.region=region;
        this.active=active;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int compareTo(Object o) {
        if(o instanceof Geography)
        {
            Geography cust=(Geography)o;
            return this.name.compareTo(cust.name);
        }
        return 2;
    }
	public void setDescription(String description) {
		this.description = description;
	}
	public String getDescription() {
		return description;
	}
	public void setRegion(String region) {
		this.region = region;
	}
	public String getRegion() {
		return region;
	}
	public void setActive(String active) {
		this.active = active;
	}
	public String getActive() {
		return active;
	}
}
